import { configureStore } from '@reduxjs/toolkit'
import routerReducer from './routerReducer'
import userReducer from './User'

const store = configureStore({
  reducer: {
    router: routerReducer,
    user: userReducer
  },
  middleware: getDefaultMiddleware => getDefaultMiddleware({
    serializableCheck:false
  })
})

export default store